package biz.inv.service;


import biz.common.dto.ReportCriteria;
import biz.inv.dto.StockInDetail;
import glen.util.BaseSvr;
import org.apache.ibatis.session.SqlSession;

import java.util.List;


public class ReportStockInSummarySvr extends BaseSvr {

    public ReportStockInSummarySvr() {
        super("StockIn");

    }


    public List<StockInDetail> search(ReportCriteria o) {
        List<StockInDetail> list;
        try (SqlSession session = sf.openSession()) {
            list = session.selectList("StockIn.reportStockInSummary", o);
        }
        return list;
    }

}
